<?php

namespace App\Api\PhoneCheck;

use App\Repository\Order\OrderRepository;

class ChannelApiCheck
{
    public function __construct()
    {
    }
    public function callBackData($array = [])
    {
        return $this->returnMsg(100, '回传失败');
    }
    public function returnMsg($code = 200, $msg = '操作成功', $data = [])
    {
        return [
            'code' => $code,
            'msg' => $msg,
            'data' => $data
        ];
    }
}
